var app = getApp();
var utils = require('../util.js');
var err = 1;
//微服务
/********************
 * ModuleMember
 * 用户信息
 * ******* */
var ModuleMember = {};

ModuleMember.getOneMemberDetail = utils.request1("ds", "getMemberInfo.json")

ModuleMember.getMemberObjectScoreTotal = utils.request1("ds", "getMemberObjectScoreTotal.json")

ModuleMember.getObjectScoreDetail = utils.request1("ds", "getObjectScoreDetail.json")

// 独立接口：获取会员的消息列表
ModuleMember.getMyReceivedMessageList = utils.request1("ds", "getMyReceivedMessageList.json")

// 独立接口：获取消息的详细信息
ModuleMember.getMessageDetail = utils.request1("ds", "getMessageDetail.json")

// 独立接口：阅读一个消息
ModuleMember.readOneMessage = utils.request1("ds", "readOneMessage.json")

// 独立接口：会员快速绑定手机号
ModuleMember.memberFastBandingPhone = utils.request1("ds", "memberFastBandingPhone.json")

// 独立接口：设置会员我的职业分类
ModuleMember.updateMyMemberJobCategoryID = utils.request1("ds", "updateMyMemberJobCategoryID	.json")

// 设置用户省市区
ModuleMember.updateMyMemberCityID = utils.request1("ds", "updateMyMemberCityID.json")
// 设置用户年龄
ModuleMember.updateMyMemberAgeCategoryID = utils.request1("ds", "updateMyMemberAgeCategoryID.json")
// 设置用户行业
ModuleMember.updateMyMemberCareer = utils.request1("ds", "updateMyMemberCareer.json")
// 设置用户行业
ModuleMember.updateMyMemberJobCategoryID = utils.request1("ds", "updateMyMemberJobCategoryID.json")
//专业列表
ModuleMember.getMajorList = utils.request1("ds", "getMajorList.json")

// 设置用户描述
ModuleMember.setMyDescription = utils.request1("ys", "setMyDescription.json")

// 申请会员专业
ModuleMember.submitMemberMajor = utils.request1("ds", "submitMemberMajor.json")

// 取消会员专业申请
ModuleMember.cancelOneMemberMajor = utils.request1("ds", "cancelOneMemberMajor.json")

//获取我的推广码
ModuleMember.getWeixinAppQrcode = utils.request1("d", "getWeixinAppQrcode.json")

//获取我的推广码
ModuleMember.getWeixinAppQrcode = utils.request1("ds", "getWeixinAppQrcode.json")

// 会员统计数据
ModuleMember.getMyStatisticsData = utils.request1("ds", "getMemberStatisticsInfo.json")

//获取会员推荐列表
ModuleMember.getMemberRecommendList = utils.request1("ds", "getMyChildrenMemberList.json")

//头像
ModuleMember.updateMyMemberAvatar = utils.request1("ds", "updateMyMemberAvatar.json")

//获取手机号
ModuleMember.getWeixinMemberPhone = utils.request1("", "getWeixinMemberPhone.json")

//修改性别
ModuleMember.updateMyMemberTitle = utils.request1("ds", "updateMyMemberTitle.json")

//用户统计数据
ModuleMember.getMemberStatisticsInfo=utils.request1("ds","getMemberStatisticsInfo.json")

//会员资金
ModuleMember.getMemberBalanceList=utils.request1("ds","getMemberBalanceList.json")

//会员积分
ModuleMember.getMyPointList=utils.request1("ds","getMyPointList.json")
module.exports = ModuleMember;